﻿using ActionMailer.Net.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using BB.Apostas.Models;

namespace BB.Apostas.Controllers
{
    public class MailController : MailerBase
    {
        public EmailResult ChngPasswordEmail(UserProfile model, string ConfirmationToken)
        {
            To.Add(model.Email);
            From = "balas.bolinhos@outlook.pt";
            Subject = "Alterar Password";
            ViewBag.ConfirmationToken = ConfirmationToken;
            return Email("ChngPasswordEmail", model);
        }
    }
}
